package com.example.demo.Service;

import com.example.demo.Entity.SysRole;
import com.example.demo.Entity.SysUser;
import org.springframework.stereotype.Service;

import java.util.List;


public interface SysUserService {
    public SysUser findByUsername(String username);
    public List<SysRole> getSysRoleList(Integer id);
    public boolean hasUser(String username);
    public void addUser(String username,String password,String salt);
    public String findSaltByUsername(String username);

}
